﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Lian.Model;
using Lian.yiban;
//using System.Web.SessionState;

namespace Lian
{
    public partial class WebForm3 : System.Web.UI.Page//, IReadOnlySessionState
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            if (Page.IsValid) {
                var aa = Session["code"];
                var bb = TextBox1.Text;
                if (Session["code"].Equals(bb))
                {
                    Console.WriteLine("成功");
                }
                Console.WriteLine("失败");
            }
            

        }
    }
}